/* 移动端携程网案例 */
body {
  max-width: 540px;
  min-width: 320px;
  margin: 0 auto;
  font: normal 14px/1.5 Tahoma, "Lucida Grande", Verdana, "Microsoft Yahei", STXihei, hei;
  color: #000;
  background: #f2f2f2;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  margin-bottom: 49px;
}
div {
  box-sizing: border-box;
}
/* 列表样式 */
ul {
  list-style: none;
  margin: 0;
  padding: 0px;
}
/* 超链接样式 */
a {
  text-decoration: none;
  color: #222
}
a:active,a:hover {
  /* 超链接点击及鼠标悬停的轮廓样式 */
  outline-width: 0px;
}
a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

/* 搜索模块 */
#search-index {
  width: 100%;
  background-color:#F6F6F6;
  display: flex;
  /* 固定 */
  position: fixed;
  top: 0;
  left: 50%;
  max-width: 540px;
  min-width: 320px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-radius: 5px;
  height: 42px;
  /* 居中 */
  /* 兼容性 */
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
/* 搜索栏 */
.search-box {
  flex: 1;
  border: 1px solid #ccc;
  height: 26px;
  line-height: 24px;
  font-size: 12px;
  border-radius: 5px;
  position: relative;
  margin: 7px 10px;
  padding-left: 25px;
  color: #666;
  box-shadow: 0px 2px 4px rgb(0, 0, 0/20%);
}
/* 搜索小图 */
.search-box::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 15px;
  height: 15px;
  background: url('../图片/images/sprite.png') no-repeat -59px -279px;
  background-size: 104px auto;
}
/* “我的”模块 */
.user {
    width: 44px;
    height: 44px;
    font-size: 12px;
    text-align: center;
    color: #2eaae0;
}
/* 我的小图 */
.user::before {
  /* 与::before 和 ::after 配合使用，插入内容 */
  content: '';
  display: block;
  background: url('../图片/images/sprite.png') no-repeat -59px -194px; 
  margin: 4px auto 0px;
  width: 23px;
  height: 23px;
  background-size: 104px auto;
}
/* 搜索模块结束 */

/* 焦点图 */
#focus {
  padding-top: 44px;
}
#focus>img {
  width: 100%;
}
/* 焦点图结束 */

/* 局部导航 */
#local-nav {
  display: flex;
  background-color: #fff;
  border-radius: 8px;
  height: 64px;
  margin: 4px 3px ;
}
#local-nav li {
  flex: 1;
}
#local-nav a{
  display: flex;
  flex-direction: column;
  font-size: 12px;
  align-items: center;
}
/* 图片设置 */
#local-nav li [class^='icon'] {
  width: 32px;
  height: 32px;
  margin-top: 8px;
  background: url('../图片/images/localnav_bg.png') no-repeat 0 0;
  background-size: 32px auto;
}
#local-nav li .icon-icon2 {
  background-position: 0 -32px;
}
#local-nav li .icon-icon3 {
  background-position: 0 -64px;
}
#local-nav li .icon-icon4 {
  background-position: 0 -96px;
}
#local-nav li .icon-icon5 {
  background-position: 0 -128px;
}
/* 局部导航结束 */

/* 主导航栏 */
nav {
  overflow: hidden;
  border-radius: 8px;
  margin: 0px 4px 3px;
}
/* 颜色渐变 */
.nav-common:first-child {
  background: -webkit-linear-gradient(left,#FA5A55,#FA994D)
}
.nav-common:nth-child(2) {
  background: -webkit-linear-gradient(left,#4B90ED, #53BCED)
}
.nav-common:last-child {
  background: -webkit-linear-gradient(left,#34C2A9, #6CD559)
}
/* 总体布局 */
.nav-common {
  display: flex;
  height: 88px;
}
.nav-items {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.nav-items a {
  flex: 1;
  text-align: center;
  line-height: 44px;
  color: #fff;
  font-size: 14px;
  text-shadow: 1px 1px rgb(0 0 0 / 20%);
}
/* 图片设置 */
.nav-hotel a {
  border: 0;
  background: url('../图片/images/hotel.png') no-repeat bottom center;
  background-size: 121px auto;
}
.nav-ticket a {
  border: 0;
  background: url('../图片/images/plane.png') no-repeat bottom center;
  background-size: 80px auto;
}
.nav-trip a {
  border: 0;
  background: url('../图片/images/trip.png') no-repeat bottom center;
  background-size: 40px auto;
}
/* 间隔设置 */
.nav-items {
  border-bottom: 1px solid #fff;  
}
.nav-items:nth-child(-n+2) {
  border-right: 1px solid #fff;
}
.nav-items a:nth-child(1) {
  border-bottom: 1px solid #fff;
}
.nav-common:nth-child(2) {
  margin: 3px 0;
}
/* 主导航栏结束 */

/* 下导航栏 */
#subnav-entry {
  display: flex;
  border-radius: 8px;
  background-color: #fff;
  margin: 0px 4px;
  flex-wrap: wrap;
  padding: 5px 0;
}
#subnav-entry li {
  flex: 20%;
}
#subnav-entry a {
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* 导航图片 */
#subnav-entry a [class^="listPic"] {
  width: 28px;
  height: 28px;
  margin-top: 4px;
  background: url('../图片/images/subnav-bg.png') no-repeat;
  background-size: 28px auto;
}
#subnav-entry a .listPic2 {
  background-position: 0 -29px;
}
#subnav-entry a .listPic3 {
  background-position: 0 -64px;
}
#subnav-entry a .listPic4 {
  background-position: 0 -322px;
}
#subnav-entry a .listPic5 {
  background-position: 0 -100px;
}
#subnav-entry a .listPic6 {
  background-position: 0 -163px;
}
#subnav-entry a .listPic7 {
  background-position: 0 -197px;
}
#subnav-entry a .listPic8 {
  background-position: 0 -127px;
}
#subnav-entry a .listPic9 {
  background-position: 0 -227px;
}
#subnav-entry a .listPic10 {
  background-position: 2px -287px;
}
/* 下导航栏结束 */

/* 活动模块 */
/* 活动标题 */
#activity-nav {
  border-top: 1px solid #bbb;
  background: #fff;
  margin: 4px;
  border-radius: 8px;
}
.title-nav {
  height: 44px;
  position: relative;
  border-bottom: 1px solid #ccc;
}
.title-nav h2 {
  position: relative;
  text-indent: -999px;
  overflow: hidden;
}
.title-nav h2::after {
  position: absolute;
  content: '';
  top: 5px;
  left: 8px;
  width: 79px;
  height: 15px;
  background: url('../图片/images/hot.png') no-repeat 0 -20px;
  background-size: 79px auto;
}
/* 更多福利布局 */
.more {
  position: absolute;
  top: 0px;
  right: 0px;
  background: -webkit-linear-gradient(left, #FF506C, #FF6BC6);
  border-radius: 15px;
  padding: 3px 20px 3px 10px;
  color: #fff;
}
/* 添加 > 图标*/
.more::after {
  content: '';
  position: absolute;
  top: 9px;
  right: 9px;
  width: 7px;
  height: 7px;
  border-top: 2px solid #fff;
  border-right: #fff 2px solid;
  transform: rotate(45deg);
}
/* 活动内容 */
.activity-items {
  display: flex;
}
.activity-items a img{
  width: 100%;
}
.activity-items a {
  border-right: 1px solid #ccc;
}
.activity-items a {
  /* flex: 1; */
  border-bottom: 1px solid #ccc;
}
/* 活动模块结束 */

/* 底部导航布局 */
#bottom-nav {
  width: 100%;
  display: flex;
  margin-top: 5px;
  border-radius: 8px;
  position: fixed;
  bottom: 0px;
  height: 49px;
  background: #fff;
  max-width: 540px;
  min-width: 320px;
  margin: 0px auto;
  align-items: center;
  justify-content: center;
}
#bottom-nav li{
  flex: 1;
}
#bottom-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-bottom: 5px;
  color: #666;
  font-size: 11px;
  line-height: 12px;
  margin-top: 1px;
}
/* 图片 */
/* 电话导航图标 */
#bottom-nav .icon-tel{
  content: '';
  width: 32px;
  height: 32px;
  background: url('../图片/images/sprite.png') no-repeat -71px -188px;
  background-size: 132px auto;
}
/* 下载导航图标 */
#bottom-nav .icon-download {
  content: '';
  width: 32px;
  height: 32px;
  background: url('../图片/images/sprite.png') no-repeat -71px -215px;
  background-size: 132px auto;
}
/* 我的导航图标 */
#bottom-nav .icon-my {
  content: '';
  width: 32px;
  height: 32px;
  background: url('../图片/images/sprite.png') no-repeat -71px -387px;
  background-size: 132px auto;
}
/* 底部导航结束 */

/* 页脚 */
footer {
  border-radius: 8px;
}
.tool-ver {
  display: flex;
  justify-content: center;
}
.tool-ver a{
  margin: 5px 10px 0 ;
  opacity: 0.8;
}
footer p {
  text-align: center;
  opacity: 0.5;
}
